/***************************************************************************
 *   Copyright (C) 2007 by Fernando Pacheco,,,   *
 *   fernando.pacheco@ingesur.com.uy   *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#ifndef POINT_H
#define POINT_H
/**
 * @class Point
 * Very simple class that reside in the libhidrogeo library, has no dependencies with Qt or Miih and do some thing related to points.
 * @brief Very simple class to work with points
 * @author Fernando Pacheco <fernando_dot_pacheco_at_ingesur_dot_com_dot_uy>
 *
*/
class HIDROGEO_EXPORT Point {
  public:
    /**
    * Default Constructor
    */
    Point(double x = 0.0, double y = 0.0);
    /**
    * Get the abscisa (x) for this point
    */
    double x();
    /**
    * Get y for this point
    */
    double y();
    /**
    * Set the abscisa (x) for this point
    */
    void setX(double x);
    /**
    * Set y for this point
    */
    void setY(double y);

  private:
    /// X of the point
    double mX;
    /// Y of the point
    double mY;
};

#endif
